﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using Entities.Enums;

namespace Interfaces
{
    public interface IInterviewDAO
    {
        List<Interview> GetAllInterviews(string condition);

        Interview LoadInterview(int intervID);
        void NewInterview(Interview src);
        int NewInterviewRet(Interview src);
        void ModifyInterview(int intervID, Interview src);
        void RemoveInterview(int intervID);
        bool InterviewExist(int intervID);
        bool InterviewExist(string title);
        int GetInterviewID(string title);
        void SetState(int intervID, InterviewState state);
        InterviewState GetState(int intervID);

        InterviewState GetInterviewState(int intervID);
        InterviewResultData GetResultDataForInterview(int intervID);
        InterviewRunResultData GetDetailedStatisticsForInterview(int intervID, int userID);
        void SaveInterviewRunResultData(int interviewID, InterviewRunResultData interv_result);
    }
}
